package cn.mooncode.basketballManage.mapper;

import cn.mooncode.basketballManage.pojo.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jwz
 * @since 2021-03-28
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {

    /**
     * 添加用户角色
     * @param id
     * @param rid
     * @return
     */
    Integer addUserRole(Integer id, Integer rid);
}
